package dataStructure.primary.queue;

import java.util.ArrayDeque;
import java.util.Deque;

/**
 * @author Summerday
 */
public class QueueDemo {

    public static void main(String[] args) {

        Deque<Integer> queue = new ArrayDeque<>();
        queue.add(1);
        queue.add(2);
        queue.add(3);

        System.out.println(queue);

        queue.poll();

        System.out.println(queue);
    }
}
